/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.client;

import java.util.Collection;
import java.util.List;

import com.xy.biz.fd.domain.req.SaveDocumentCodePoolRequest;
import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.fd.domain.resp.GetDocumentCodePoolResponse;
import com.xy.biz.fd.domain.req.GetDocumentCodePoolRequest;
import com.xy.biz.fd.domain.req.ListDocumentCodePoolRequest;
import org.springframework.web.bind.annotation.RequestBody;

/**
 *
 *
 * @author zgy
 * @date 2021-6-11
 */
public interface DocumentCodePoolClient {
	/*
	*//**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 *//*
	Result<GetDocumentCodePoolResponse> getDocumentCodePool(GetDocumentCodePoolRequest request);
	*//*
	*//**//**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 *//**//*
	Result<List<GetDocumentCodePoolResponse>> listDocumentCodePoolById(Collection<Long> collection);*//*

	*//**
	 * 查找多个
	 *
	 * @param request 查找条件
	 * @return
	 *//*
	Result<List<GetDocumentCodePoolResponse>> listDocumentCodePool(ListDocumentCodePoolRequest request);

	*//**
	 * 统计个数
	 *
	 * @param request 查找条件
	 * @return
	 *//*
	Result<Integer> countDocumentCodePool(ListDocumentCodePoolRequest request);

	*//**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 *//*
	Result<Page<GetDocumentCodePoolResponse>> pageDocumentCodePool(ListDocumentCodePoolRequest request);

	*//**
	 * 保存
	 *//*
	Result<? extends Integer> saveDocumentCodePool(SaveDocumentCodePoolRequest request);*/

	Result<? extends Integer> updateDocumentCodePool(SaveDocumentCodePoolRequest request);

	Result<? extends Integer> updateAllDocumentCodePoolByCode(Collection<SaveDocumentCodePoolRequest> collection);

}
